/**
 * 
 */
package com.huniu.links.colony;

import java.io.File;
import java.util.List;

import org.dom4j.Document;
import org.dom4j.DocumentException;

import com.huniu.links.exception.LinkProcessException;

/**
 * @author zandy (chenheng)
 * 
 */
public interface IBeeBehavior extends Runnable {

	public static final String LINK_PAGE_CACHE_NAME = "linkPage";

	public Document parseXMLFile(File file) throws DocumentException,
			LinkProcessException;

	public void generateProcessedFile(File file) throws LinkProcessException;
	
	public List<String> parseLinks(Document document,String elementTag); 

	public void process();
}
